#parse("admin/inc/contentleft.html")
				<div id="center-column">
					<div class="top-bar">
						<a href="new" class="button">增加 广告 </a>
						<h1>
							Contents
						</h1>
						<div class="breadcrumbs">
							<a href="#">Homepage</a> /
							<a href="#">Contents</a>
						</div>
					</div>
					<br />
					<div class="select-bar">

					</div>
					<div class="table">
						<img src="../../img/bg-th-left.gif" width="8" height="7" alt=""
							class="left" />
						<img src="../../img/bg-th-right.gif" width="7" height="7" alt=""
							class="right" />
						<table class="listing form" cellpadding="0" cellspacing="0">
							<form name="editadlink" id="editadlink" method="post"
								action="../save">
								<input type="hidden" name="adlinkId" value="${entity.adlinkId}" />
							<tr>
								<th class="full" colspan="2">
									增加项
								</th>
							</tr>
							 
						 	<tr>
					<td class="first" width="172">
						<strong>友链名称</strong>
					</td>
					<td class="last">
						<INPUT type="text" class=text name=adlinkName value="${entity.adlinkName}" > 
					</td>
				</tr>
				<tr>
					<td class="first" width="172">
						<strong>友链Logo</strong>
					</td>
					<td class="last">
					<input type="text" class="text" name=navLogo value="${entity.navLogo}" />
					 
					</td>
				</tr>
				<tr>
					<td class="first"">
						<strong>友链网址</strong>
					</td>
					<td class="last">
						<input type="text" class="text" name=linkurl value="${entity.linkurl}" />
					</td>
				</tr>
				
					<tr>
					<td class="first"">
						<strong>友链状态</strong>
					</td>
					<td class="last">
					
					
						#if($!{entity.linkstatus}==0) 
						#set ($ifselect1 ="selected")
						#else #set ($ifselect2 ="selected") #end
						<select style="width: 65%" name="isDisplay"
							value="${entity.isDisplay}">
							<option value='0' $!{ifselect1}>
								否
							</option>
							<option value='1' $!{ifselect2} >
								是
							</option>
						</select>

					</td>
				</tr>

				<tr>
					<td class="first"">
						<strong>位置排序权重</strong>
					</td>
					<td class="last">
					
					#if($!{entity.cindex}==1) 
					#set ($ifselect11 ="selected")
					#elseif ($!{entity.cindex}==2) 
					#set ($ifselect12 ="selected") 
					#elseif ($!{entity.cindex}==3) 
					#set ($ifselect13 ="selected") 
					#else #set ($ifselect14 ="selected") 
					#end
					
					
						<select style="width: 65%" name="cindex">
							<option value='1' $!{ifselect11}>
								1
							</option>
							<option value='2' $!{ifselect12}>
								2
							</option>
							<option value='3' $!{ifselect13}>
								3
							</option>
							<option value='4' $!{ifselect14}>
								4
							</option>
						</select>
					</td>
				</tr>
  
							<tr><td>
							<input type="submit" value="保 存" />
							</form>
								</td></tr>
						</table>
						<p>
							&nbsp;
						</p>
					</div>
				</div>
				<div id="right-column">
					<strong class="h">INFO</strong>
					<div class="box">
						Detect and eliminate viruses and Trojan horses, even new and
						unknown ones. Detect and eliminate viruses and Trojan horses, even
						new and
					</div>
				</div>
			</div>
			<div id="footer"></div>
		</div>


	</body>
</html>
